home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / util / shell / SphinxExtraDocs.lha / Docs / QuickReference.doc < prev   
Encoding:
Text File  |  1992-05-16  |  7.3 KB  |  191 lines

  1.  
  2.                   Sphinx.doc v2.6x
  3.          © 1991, Nicolas Dade. All Rights Reserved
  4.  permission is hereby granted for non-commercial duplication and distribution
  5.          doc file for the SPHINX: AmigaDOS device
  6.  last revised: May 16th, 1992
  7.  
  8. SPHINX uses the default keymap (you set this with SetKeyMap) to map the
  9. keyboard. In parenthesis I have given what SPHINX really looks for when it is
  10. not obvious.
  11.  
  12. control-key strokes are supported not because they are easier to use, but in
  13. order to be compatible with NEWCON:.
  14.  
  15. no key is allowed to repeat after it has been released. however, if you
  16. repeatedly press a key, every press will be acted upon.
  17.  
  18. S-  = Shift-
  19. A-  = Alternate-
  20. C-  = Control-
  21. RA- = Right Amiga-
  22. SA- = Shift + Alternate-
  23. SRA-= Shift + Right Amiga-
  24. LMB = Left Mouse Button
  25. NR  = No Repeat. this key is not allowed to repeat at all
  26. RAW = the key in interpreted at the raw key code stage in its most common form
  27.  
  28. RETURN/ENTER/C-M ($0d)  end of input, append a LF and make it available
  29. C-\ ($1c)               end of file, same actions as RETURN, but returns a
  30.              EOF
  31. C-J ($0a)               end of line, same actions as RETURN, but does not
  32.              make the line available
  33.  
  34. BACKSPACE/C-H ($08) RAW delete character to the left of cursor
  35. DELETE      ($7f)     RAW delete character to the right of cursor
  36. S-BS/C-U  ($08+shf/$15) delete all to the left of cursor
  37. S-DEL/C-K ($7f+shf/$0b) delete all to the right of cursor
  38. A-BS      ($08+alt) RAW delete (fraction of) word to the left of cursor,
  39.              or punctuation mark to the left
  40. A-DEL      ($7f+alt) RAW delete (fraction of) word to the right of cursor,
  41.              or punctuation mark to the right
  42. C-X      ($18)         reset inputs
  43.  
  44. RA-X/UNDO GG NR undo: if searching, cancel search and restore input buffer
  45.               if wording, cancel wording and restore input buffer
  46.               if literal, cancel literal
  47.               if just inserted, delete inserted text
  48.               else, undo the last block of text deleted;
  49.               gadget imagery is used as a status indicator
  50.  
  51. RIGHT ARROW RAW  move cursor one character to the right
  52. LEFT ARROW  RAW  move cursor one to the left
  53. S-RIGHT/C-Z RAW  move cursor to the end of input line
  54. S-LEFT/C-A  RAW  move cursor to the start of input line
  55. A-RIGHT (R+a) RAW usually move cursor one word to the right
  56. A-LEFT    (L+a) RAW usually move cursor one word to the left
  57. C-RIGHT (R+c) RAW same as A-RIGHT
  58. C-LEFT    (L+c) RAW same as A-LEFT
  59. C-W    ($17)     move cursor to the right to next tab stop
  60. UP ARROW      RAW look back at next older old input line
  61. DOWN ARROW    RAW look back at next newer old input line
  62. S-UP/C-R ($12) NR RAW search back in saved input for next string matching
  63.          search string
  64.         if the string is less than or MaxLitCmpChars long, then
  65.          search for a line that starts with that character,
  66.         else do a fragment comparision, looking for an input line
  67.          that has the same characters as the string in the same
  68.          order, but with any number of other characters in between
  69.         if the string is completely in capital letters, the
  70.         comparison(s) are case insensitive, else case sensational
  71. S-DOWN       RAW go to bottom: if searching and cursor is visible, cancel search
  72.  ($02)                       & restore input buffer
  73.                 else if cursor is visible, scroll cursor to top
  74.                  line
  75.                 else, scroll cursor to bottom line of window
  76. C-B        always cancel search & restore input buffer
  77.  
  78. RA-W         NR do word search through all text to finish word to the left
  79.          of cursor
  80.  
  81. C-S        toggle output stop
  82. SC-S        disable automatic scroll when cursor reaches bottom of wd
  83. C-G/C-Q     manual automatic-scroll enable and output enable
  84.  
  85. SA-UP (SU+a) RAW scroll back so that next previous input line is on top line
  86.           of window
  87. A-UP   (U+a) RAW scroll up ½ window
  88. A-DOWN (D+a) RAW scroll down ½ window
  89. C-UP   (U+c) RAW scroll up one line
  90. C-DOWN (D+c) RAW scroll down one line
  91.  
  92. RA-Z/ICONIZE GG NR iconify window(s); to deiconify, activate bar and press a
  93.             key or right mouse button
  94. RA-O        NR open/shrink window
  95. RA-]/SRA-]    NR window(s) to front
  96. RA-[/SRA-[    NR window(s) to back
  97.  
  98. RA-L         NR toggle the literal trigger: when the literal trigger is
  99.          loaded, the next keystroke is not interpreted, but is put
  100.          directly in the input buffer, thus a C-X can be put in the
  101.          input buffer by preceding it by RA-L
  102. SRA-L         NR toggle the literal trigger like RA-L, but if it is being set
  103.          then set it in such a way that it is not automatically
  104.          canceled when it is "used"; lock it until it is manually
  105.          released (with RA-L,SRA-L,UNDO)
  106.  
  107. RA-G         NR cycle through clipping modes, or, if in a mode which has
  108.         been used, go back to private
  109. SRA-G         NR same as RA-G
  110.  
  111. RA-I         NR insert from clipboard (unit 0)
  112. SRA-I         NR insert from insert file
  113. RA-P         NR toggle insert parsing
  114. RA-A         NR insert again the previous clipboard or private insertion
  115.         (file insertions are not saved for RA-A)
  116.  
  117. RA-R         NR put up an arp file requestor and insert the filename
  118. SRA-R         NR put up an arp file requestor and insert the path & filename
  119.  
  120. RA-C         NR open configuration window / pop it to front
  121.  
  122. SCROLL-GG    when clicked upon and when moved, redraws the window using
  123.         the location of the gadget to determine what line of saved
  124.         text is new top line
  125.  
  126. RA-F        free some memory by forgetting the oldest block of text
  127. SRA-F         NR free all the memory that can be freed (equivalent to holding
  128.         down RA-F until everything possible has been freed)
  129.  
  130. F1 to F10 RAW NR   go to previously marked spot n
  131. S-F1 to S-F10 RAW  mark current upperleft character in spot n
  132.         NOTE: F10 is special: it allows you to set a boundary below
  133.               which all automatic (even RA-F) freeing of text is not
  134.               allowed. this allows you to keep something useful from
  135.               being freed when you are about to do something that
  136.               would ordinarily cause it to be freed (i.e. typing
  137.               (type) a large file to the window)
  138.               when F10 is doing this, the Undo gadget shows a small
  139.               `10' the lower right corner, as a reminder
  140. A-F10 (F10+alt) RAW cancel F10 and its boundary, and allow the text to be
  141.               freed
  142.  
  143. C-Fn        RAW insert input string and enter line
  144.  
  145. C-C ($03)       signal the sender of a pending read, write or waitchar
  146. C-D ($04)       request, or if there are none the sender of the next packet
  147. C-E ($05)       recieved, the appropriate signal
  148. C-F ($06)
  149.  
  150. LMB on input buffer    move cursor to pointer
  151. LMB double click    clip word under pointer
  152. LMB dragged        define and clip text block
  153.  
  154.  
  155. gadgets:
  156.  +------------------+-+-+
  157.  |... .. ....        | | |
  158.  +------------------+-+-+
  159.  |.. ... .....          |I|ICONIZE GG (ghosted after DiskInfo is asked for)
  160.  |. ....... ..... ..  +-+
  161.  |... ..          | |
  162.  |.              |S|SCROLL GG
  163.  |..              | |
  164.  |.              +-+
  165.  |              |X|UNDO GG
  166.  |              +-+
  167.  |              | |
  168.  +--------------------+-+
  169.  
  170. Undo GG imagery is:
  171. if inserts are parsed, subscripted with a `P'
  172. if Searching Wording or Literal, then a `S', a `W', a `L' or a script `L',
  173. depending on whether this literal is locked,
  174. else clipping type (`X'=private,`C'=clipboard,`F'=file), which is scripted
  175.  if the mode is locked.
  176.  
  177.  
  178. window parameters:
  179.  
  180. /CLOSE,/AUTO,/WAIT,/NOBORDER,/NODEPTH,/NOCLOSE,/SIZE,/NODRAG,/BACKUP
  181. just like the 2.0 CON:, plus
  182. /SPHINXNOGADGETS
  183. which removes the iconizing, scrolling and undo gadgets from the window
  184. (for the con:-like look), and
  185. /SPHINXCONFIG/configfilename
  186. which specifies the config to use instead of the default. Only the config
  187. file name can be specified; the path is always "s:".
  188.  
  189. these parameters work under 1.3 and 2.0, BTW.
  190.  
  191.